/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
  background-color: #ff6600;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header img.logo {
  height: 40px;
  margin-right: auto;
}

  nav a {
    padding: 5px 0;
  }



.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.blog-content {
    padding: 40px;
    max-width: 1300px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.blog-content h2 {
    font-size: 1.8em;
    color: #17202A;
    margin-bottom: 10px;
}

.blog-content p {
    line-height: 1.6;
	
}

.read-more,
.cta-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    color: #fff;
    background-color: #333;
    text-decoration: none;
    border-radius: 5px;
}

.read-more:hover,
.cta-button:hover {
    background-color: #555;
}
.banner-ad {
    width: 300px; /* Adjust width if needed */
    margin: 20px auto; /* Center the banner */
    text-align: center; /* Center the image */
    border: 2px solid #ddd; /* Optional border around the banner */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow effect */
}

.banner-ad img {
    width: 100%; /* Ensure the image fits within the banner container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove any unwanted space around the image */
}
.comments-container, .articles-container {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-avatar {
    display: flex;
    align-items: center;
}

.user-avatar img {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

.like-count {
    font-size: 14px;
}

.comment-actions {
    margin: 20px 0;
    display: flex;
    justify-content: space-around;
    color: #0073b1;
}

.action-icon {
    cursor: pointer;
}

.comment-input {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.comment-input input {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ccc;
    margin-right: 10px;
}

.emoji-icon {
    cursor: pointer;
    font-size: 24px;
}

.no-comments-section {
    text-align: center;
    color: #888;
}

.no-comments-section img {
    width: 100px;
    margin-bottom: 20px;
}

.start-conversation-button {
    padding: 10px 20px;
    border: 1px solid #0073b1;
    border-radius: 20px;
    background-color: white;
    color: #0073b1;
    cursor: pointer;
    font-size: 14px;
}

.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.author-photo {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.author-details span {
    font-weight: bold;
    font-size: 16px;
}

.author-details p {
    color: #555;
    margin: 0;
}

.articles-container h2 {
    margin-bottom: 20px;
}

.articles {
    display: flex;
    gap: 20px;
}

.article {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    width: 45%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.article img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.article-info p {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.article-info span {
    color: #555;
    font-size: 12px;
}
 
  . display:flex;
  justify-content: center;
            align-items: flex-start;
            margin: 0;
            padding: 20px;
            background-color: #f5f5f5;
        }
        
        .container {
            width: 60%;
            background: white;
            padding: 20px;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        }
        
        .ad-left, .ad-right {
            width: 15%;
            height: auto;
            position: sticky;
            top: 20px;
        }
        
        .ad-left {
            margin-right: 20px;
        }
        
        .ad-right {
            margin-left: 20px;
        }
        
        .ad-placeholder {
            width: 100%;
            height: 250px;
            background: gray;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

.ebooks-sidebar {
  background-color: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 14px;
  color: #333;
}

.ebooks-sidebar h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #0077cc;
  text-align: center;
}

.ebook-item {
  margin-bottom: 15px;
  padding: 8px;
  border-bottom: 1px solid #eee;
}

.ebook-item:last-child {
  border-bottom: none;
}

.ebook-item p {
  margin: 4px 0;
  font-size: 13px;
}

.ebook-item strong {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #222;
}

.ebooks-sidebar .cta-button {
  display: block;
  text-align: center;
  padding: 8px 12px;
  background-color: #0077cc;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
}

.ebooks-sidebar .cta-button:hover {
  background-color: #005fa3;
}
.ebooks-sidebar img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.blog-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
  padding: 20px;
}

.blog-main {
  flex: 3;
  min-width: 0;
}

.blog-sidebar {
  flex: 1;
  min-width: 250px;
  position: sticky;
  top: 80px;
}

.blog-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}

.blog-content {
  flex: 0 1 65%;
  max-width: 800px;
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.sidebar-ebooks {
  flex: 0 1 25%;
  background: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.sidebar-ebooks h3 {
  text-align: center;
  color: #ff6600;
  margin-bottom: 10px;
}

.sidebar-ebooks .ebook-card {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.sidebar-ebooks .ebook-card h4 {
  margin: 0 0 5px;
  font-size: 15px;
}

.sidebar-ebooks .ebook-card p {
  font-size: 13px;
  margin: 3px 0;
}

.sidebar-ebooks .cta-button {
  display: block;
  text-align: center;
  padding: 10px;
  background: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
}

.sidebar-ebooks .cta-button:hover {
  background: #005fa3;
}

.affiliate-button {
  display: inline-block;
  padding: 12px 20px;
  margin: 10px 10px 10px 0;
  font-size: 16px;
  font-weight: bold;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.amazon-button {
  background-color: #ff9900;
}

.amazon-button:hover {
  background-color: #e68a00;
}

.gumroad-button {
  background-color: #36a9ae;
}

.gumroad-button:hover {
  background-color: #2d8f92;
}


footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}
